Class: models/Community

models/Community

new models/Community()

一个单独的社团元素。
Source:

Extends

  • Backbone.Model

Members

(static, nullable) graph :Graph

社团内部的节点和边组成的Graph,用于描述社团内部的图结构。初始化为null,查询运行成功后为Graph的实例。
Type:
  • Graph
Source:

Methods

getNeighbors() → {Array.<Community>}

获得Community的邻居。
Source:
Returns:
该Community的邻居数组。
Type
Array.<Community>